﻿// //  ********************************************************************************
// //  Copyright (C) 2016 Sebastian Kenter. All rights reserved.
// // 
// //  Name    : MultiServerEngine | TypeDefs | OperationCodes.cs
// //  Created : 2016 - 02 - 16 20:53
// //  Modified: 2016 - 02 - 20 12:33
// //  ********************************************************************************

using System;

namespace TypeDefs
{
    [Flags]
    public enum OperationCodes : byte
    {
        System = 0x00, // Operation code for all system operations

        // --- OperationCodes for the authentication system
        Login = 0x01, // Operation for the authentication system diversified by further sub codes

        // --- OperationCodes for client to realm transfer
        Transfer = 0x02,


        // Defaults and Forwards at the end of the list
        DefaultRequest = 0x0fa, // Request was caught by a default handler
        DefaultResponse = 0x0fb, // Response was caught by a default handler
        DefaultEvent = 0x0fc, // Event was caught by a default handler
        ForwardRequest = 0x0fd, // Request must be forwarded
        ForwardResponse = 0x0fe, // Response must be forwarded
        ForwardEvent = 0x0ff // Event must be forwarded
        ,
        
    }
}
